<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>班级管理</title>
</head>
<body>
  <h2>班级管理</h2>
  <table style="border-collapse: collapse;width: 60%;text-align: center;" border="1">
     <tr>
       <th>班级编号</th>
       <th>班级名称</th>
       <th>操作</th>
     </tr>
     
     <c:forEach items="${grades }" var="grade" varStatus="v">
       <tr>
       <th>${v.count }</th>
       <th>${grade.gradeName }</th>
       <th><a href="${pageContext.request.contextPath }/PermissionServlet?flag=preUpdateGrade&gradeId=${grade.gradeId}">修改</a>|<a href="${pageContext.request.contextPath }/PermissionServlet?flag=deleteGrade&gradeId=${grade.gradeId}">删除</a></th>
     </tr>
  </c:forEach>
  </table>

</body>
</html>